projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ebd5c
)
GtkColorSelection: Don't leak a context menu
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 18 Dec 2013 04:26:16 +0000
(23:26 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 18 Dec 2013 04:26:16 +0000
(23:26 -0500)
This was pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=720401
gtk/deprecated/gtkcolorsel.c
patch
|
blob
|
history
diff --git
a/gtk/deprecated/gtkcolorsel.c
b/gtk/deprecated/gtkcolorsel.c
index 950bd3942b1730c31e6d1df2a9cbc095f8a46363..fb5741b8cbb646b7f1dfc9e3301e1b7d5cce9cee 100644
(file)
--- a/
gtk/deprecated/gtkcolorsel.c
+++ b/
gtk/deprecated/gtkcolorsel.c
@@
-1485,6
+1485,7
@@
do_popup (GtkColorSelection *colorsel,
colorsel);
menu = gtk_menu_new ();
+ g_signal_connect (menu, "hide", G_CALLBACK (gtk_widget_destroy), NULL);
mi = gtk_menu_item_new_with_mnemonic (_("_Save color here"));